package com.boot.banner;

import org.springframework.boot.Banner;
import org.springframework.core.env.Environment;

import java.io.PrintStream;

/**
 * @author
 * @date 2025-07-28
 * @Description 测试通过代码实现banner
 */
public class MyBanner implements Banner {
    @Override
    public void printBanner(Environment environment, Class<?> sourceClass, PrintStream out) {
        out.println("hsc is goods");
    }
}
